home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / dtbrfs.z / dtbrfs
Encoding:
Text File  |  2002-10-03  |  6.0 KB  |  199 lines

  1.  
  2.  
  3.  
  4. DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))                                                          DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      DTBRFS - provide error bounds and backward error estimates for the
  10.      solution to a system of linear equations with a triangular band
  11.      coefficient matrix
  12.  
  13. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  14.      SUBROUTINE DTBRFS( UPLO, TRANS, DIAG, N, KD, NRHS, AB, LDAB, B, LDB, X,
  15.                         LDX, FERR, BERR, WORK, IWORK, INFO )
  16.  
  17.          CHARACTER      DIAG, TRANS, UPLO
  18.  
  19.          INTEGER        INFO, KD, LDAB, LDB, LDX, N, NRHS
  20.  
  21.          INTEGER        IWORK( * )
  22.  
  23.          DOUBLE         PRECISION AB( LDAB, * ), B( LDB, * ), BERR( * ), FERR(
  24.                         * ), WORK( * ), X( LDX, * )
  25.  
  26. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  27.      These routines are part of the SCSL Scientific Library and can be loaded
  28.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  29.      directs the linker to use the multi-processor version of the library.
  30.  
  31.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  32.      4 bytes (32 bits). Another version of SCSL is available in which integers
  33.      are 8 bytes (64 bits).  This version allows the user access to larger
  34.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  35.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  36.      only one of the two versions; 4-byte integer and 8-byte integer library
  37.      calls cannot be mixed.
  38.  
  39. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  40.      DTBRFS provides error bounds and backward error estimates for the
  41.      solution to a system of linear equations with a triangular band
  42.      coefficient matrix. The solution matrix X must be computed by DTBTRS or
  43.      some other means before entering this routine.  DTBRFS does not do
  44.      iterative refinement because doing so cannot improve the backward error.
  45.  
  46.  
  47. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  48.      UPLO    (input) CHARACTER*1
  49.              = 'U':  A is upper triangular;
  50.              = 'L':  A is lower triangular.
  51.  
  52.      TRANS   (input) CHARACTER*1
  53.              Specifies the form of the system of equations:
  54.              = 'N':  A * X = B  (No transpose)
  55.              = 'T':  A**T * X = B  (Transpose)
  56.              = 'C':  A**H * X = B  (Conjugate transpose = Transpose)
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))                                                          DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      DIAG    (input) CHARACTER*1
  75.              = 'N':  A is non-unit triangular;
  76.              = 'U':  A is unit triangular.
  77.  
  78.      N       (input) INTEGER
  79.              The order of the matrix A.  N >= 0.
  80.  
  81.      KD      (input) INTEGER
  82.              The number of superdiagonals or subdiagonals of the triangular
  83.              band matrix A.  KD >= 0.
  84.  
  85.      NRHS    (input) INTEGER
  86.              The number of right hand sides, i.e., the number of columns of
  87.              the matrices B and X.  NRHS >= 0.
  88.  
  89.      AB      (input) DOUBLE PRECISION array, dimension (LDAB,N)
  90.              The upper or lower triangular band matrix A, stored in the first
  91.              kd+1 rows of the array. The j-th column of A is stored in the j-
  92.              th column of the array AB as follows:  if UPLO = 'U', AB(kd+1+i-
  93.              j,j) = A(i,j) for max(1,j-kd)<=i<=j; if UPLO = 'L', AB(1+i-j,j)
  94.              = A(i,j) for j<=i<=min(n,j+kd).  If DIAG = 'U', the diagonal
  95.              elements of A are not referenced and are assumed to be 1.
  96.  
  97.      LDAB    (input) INTEGER
  98.              The leading dimension of the array AB.  LDAB >= KD+1.
  99.  
  100.      B       (input) DOUBLE PRECISION array, dimension (LDB,NRHS)
  101.              The right hand side matrix B.
  102.  
  103.      LDB     (input) INTEGER
  104.              The leading dimension of the array B.  LDB >= max(1,N).
  105.  
  106.      X       (input) DOUBLE PRECISION array, dimension (LDX,NRHS)
  107.              The solution matrix X.
  108.  
  109.      LDX     (input) INTEGER
  110.              The leading dimension of the array X.  LDX >= max(1,N).
  111.  
  112.      FERR    (output) DOUBLE PRECISION array, dimension (NRHS)
  113.              The estimated forward error bound for each solution vector X(j)
  114.              (the j-th column of the solution matrix X).  If XTRUE is the true
  115.              solution corresponding to X(j), FERR(j) is an estimated upper
  116.              bound for the magnitude of the largest element in (X(j) - XTRUE)
  117.              divided by the magnitude of the largest element in X(j).  The
  118.              estimate is as reliable as the estimate for RCOND, and is almost
  119.              always a slight overestimate of the true error.
  120.  
  121.      BERR    (output) DOUBLE PRECISION array, dimension (NRHS)
  122.              The componentwise relative backward error of each solution vector
  123.              X(j) (i.e., the smallest relative change in any element of A or B
  124.              that makes X(j) an exact solution).
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))                                                          DDDDTTTTBBBBRRRRFFFFSSSS((((3333SSSS))))
  137.  
  138.  
  139.  
  140.      WORK    (workspace) DOUBLE PRECISION array, dimension (3*N)
  141.  
  142.      IWORK   (workspace) INTEGER array, dimension (N)
  143.  
  144.      INFO    (output) INTEGER
  145.              = 0:  successful exit
  146.              < 0:  if INFO = -i, the i-th argument had an illegal value
  147.  
  148. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  149.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  150.  
  151.      This man page is available only online.
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.